package com.czk.utils;

/**
 * @Author:ChenZhangKun
 * @Date: 2021/4/6 14:15
 */
public class ResultUtils {
    public static Result success(){
        Result result=new Result();
        result.setCode(200);
        result.setMessage("成功");
        return result;
    }
    public static Result error(){
        Result result=new Result();
        result.setCode(500);
        result.setMessage("失败");
        return result;
    }
}
